package com.wzcl.app.service;

import com.wzcl.app.dao.model.Requisition;
import com.wzcl.app.model.common.MyPage;
import com.wzcl.app.model.dto.RequisitionDto;

import java.util.List;

public interface RequisitionService extends BaseService<Requisition, RequisitionDto> {
    Requisition addRequisition(RequisitionDto requisitionDto);

    Requisition starRequisitionById(Integer id);

    Requisition getRequisitionById(Integer id);

    Requisition endRequisition(RequisitionDto requisitionDto);

    List<Requisition> getRequisitionList(RequisitionDto requisitionDto);

    MyPage<Requisition> getRequisitionPage(RequisitionDto requisitionDto);
}
